<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>ueditor demo</title>
</head>
<body>
<!-- 加载编辑器的容器 -->
<script id="editor" type="text/plain">
<p>
    这里放置您的<strong>初始化代码</strong>。
</p>
<p>
    <span style="color: rgb(84, 141, 212);">Hello World !</span>
</p>
</script>
<!-- 配置文件 -->
<script type="text/javascript" src="./ueditor/ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="./ueditor/ueditor.all.js"></script>
<!-- 实例化编辑器 -->
<script type="text/javascript">

  UE.Editor.prototype._bkGetActionUrl = UE.Editor.prototype.getActionUrl;
  UE.Editor.prototype.getActionUrl = function(action) {
      if (action == 'uploadimage' || action == 'uploadscrawl' || action == 'uploadimage') {
          return 'http://localhost:8080/ueditor/execute?action='+action;
      } else if (action == 'uploadvideo') {
          return 'http://localhost:8080/ueditor/execute?action='+action;
      } else {
          return this._bkGetActionUrl.call(this, action);
      }
  }

	var ue = UE.getEditor('editor');
</script>
</body>

</html>